import request from '@/utils/request.js'

// 公司集体月考勤统计
export function companyclockmonth(data) {
  return request({
    url: '/personnel/KaoqinNew/company_clock_month',
    method: 'POST',
    data: data,
  })
}

// 公司集体月考勤统计
export function getPaibaninfo(data) {
  return request({
    url: '/personnel/Kaoqin/get_paibaninfo',
    method: 'POST',
    data: data,
  })
}

// 获取团队组织架构
export function getdepartChildBypersiontest(data) {
  return request({
    url: '/index/Department/get_departChildBypersion',
    method: 'POST',
    data,
  })
}

// 获取考勤组
export function getgroupList(data) {
  return request({
    url: '/personnel/Kaoqin/group_list',
    method: 'POST',
    data,
  })
}

// 获取排班记录
export function paibanRecord(data) {
  return request({
    url: '/personnel/KaoqinNew/paiban_record',
    method: 'POST',
    data,
  })
}
